package com.jichangxiu.server.platform.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * PlatformUserAddVo:
 *
 * @author Jcx
 * @create 2023-03-26 13:36
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "新增用户实体")
public class PlatformUserAddVo {

    @Schema(description = "用户标识")
    private String userCode;

    @Schema(description = "用户账号")
    private String username;

    @Schema(description = "用户密码")
    private String password;

    @Schema(description = "部门ID")
    private String deptId;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "用户性别（0女 1男 2未知）")
    private Long sex;

    @Schema(description = "头像地址")
    private String avatar;

    @Schema(description = "状态（false停用 true正常）")
    private Boolean status;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "用户具备的角色ID列表")
    private List<String> roleIds;

    @Schema(description = "用户具备的岗位ID列表")
    private List<String> postIds;

}
